sysroot: Add API to clean up transient keys in origin files
authorColin Walters <walters@verbum.org>
Fri, 23 Feb 2018 19:23:38 +0000 (14:23 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Feb 2018 19:06:59 +0000 (19:06 +0000)
commitc40a47e965d139cf6e72192bd582098a635b72f4
treea020e001e6f00a1aa1640514b4d8bda95f323474
parent2f5a34bed98475b966de3c41bcd0275dc4bb4388
sysroot: Add API to clean up transient keys in origin files

The `origin/unlocked` and `origin/override-commit` keys are examples of state
that's really transient; we don't want to maintain them across upgrades. Right
now there are bits for this in both `ostree admin upgrade` as well as in
rpm-ostree.

This new API will slightly clean up both cases, but it's really prep for adding
a concept of deployment "pinning" that will live in the new
`libostree-transient` group.

Closes: #1464
Approved by: jlebon
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-deployment.c
src/libostree/ostree-deployment.h
src/ostree/ot-admin-builtin-upgrade.c